﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： UserInfoEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-07-31
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
    /// <summary>
    ///用户表数据实体  
    /// </summary>
    [PrimaryKey("UserID")]
    public class UserInfo
    {
        ///<summary>
        ///用户表
        ///</summary>
        public UserInfo()
        {
        }


        ///<summary>
        ///主键
        ///</summary>
        [Column("UserID", "主键")]
        public int UserID { get; set; }

        ///<summary>
        ///姓名
        ///</summary>
        [Column("UserName", "姓名")]
        public string UserName { get; set; }

        ///<summary>
        ///头像
        ///</summary>
        [Column("UserHead", "头像")]
        public string UserHead { get; set; }

        ///<summary>
        ///电话
        ///</summary>
        [Column("Mobile", "电话")]
        public string Mobile { get; set; }

        ///<summary>
        ///公司名称
        ///</summary>
        [Column("CompanyName", "公司名称")]
        public string CompanyName { get; set; }

        ///<summary>
        ///职位
        ///</summary>
        [Column("Position", "职位")]
        public string Position { get; set; }

        ///<summary>
        ///邮箱
        ///</summary>
        [Column("Email", "邮箱")]
        public string Email { get; set; }

        ///<summary>
        ///座机
        ///</summary>
        [Column("Telephone", "座机")]
        public string Telephone { get; set; }

        ///<summary>
        ///微信号
        ///</summary>
        [Column("WeChartNum", "微信号")]
        public string WeChartNum { get; set; }

        ///<summary>
        ///来源渠道
        ///</summary>
        [Column("UserSence", "来源渠道")]
        public int UserSence { get; set; }

        ///<summary>
        ///来源渠道标识
        ///</summary>
        [Column("UserScenceToken", "来源渠道标识")]
        public string UserScenceToken { get; set; }

        ///<summary>
        ///简介
        ///</summary>
        [Column("UserDesc", "简介")]
        public string UserDesc { get; set; }

        ///<summary>
        ///用户类型(1：个人 2:企业)
        ///</summary>
        [Column("UserType", "用户类型(1：个人 2:企业)")]
        public int UserType { get; set; }

        ///<summary>
        ///省-地址
        ///</summary>
        [Column("DProince", "省-地址")]
        public int DProince { get; set; }

        ///<summary>
        ///市-地址
        ///</summary>
        [Column("DCity", "市-地址")]
        public int DCity { get; set; }

        ///<summary>
        ///区-地址
        ///</summary>
        [Column("DLocation", "区-地址")]
        public int DLocation { get; set; }

        ///<summary>
        ///详细地址-地址
        ///</summary>
        [Column("DAddress", "详细地址-地址")]
        public string DAddress { get; set; }

        ///<summary>
        ///省-家乡
        ///</summary>
        [Column("HProince", "省-家乡")]
        public int HProince { get; set; }

        ///<summary>
        ///市-家乡
        ///</summary>
        [Column("HCity", "市-家乡")]
        public int HCity { get; set; }

        ///<summary>
        ///区-家乡
        ///</summary>
        [Column("HLocation", "区-家乡")]
        public int HLocation { get; set; }

        ///<summary>
        ///详细地址-家乡
        ///</summary>
        [Column("HAddress", "详细地址-家乡")]
        public string HAddress { get; set; }

        ///<summary>
        ///创建时间
        ///</summary>
        [Column("CreateDate", "创建时间")]
        public DateTime CreateDate { get; set; }

        ///<summary>
        ///更新时间
        ///</summary>
        [Column("UpdateDate", "更新时间")]
        public DateTime UpdateDate { get; set; }

        ///<summary>
        ///逻辑标识(1：可用 0：禁用)
        ///</summary>
        [Column("IsActvie", "逻辑标识(1：可用 0：禁用)")]
        public int IsActvie { get; set; }

        ///<summary>
        ///OpenID
        ///</summary>
        [Column("OpenID", "OpenID")]
        public string OpenID { get; set; }

        ///<summary>
        ///UnionID
        ///</summary>
        [Column("UnionID", "UnionID")]
        public string UnionID { get; set; }

        ///<summary>
		///车辆审核状态， 0未认证，1审核中，2已审核，3驳回
		///</summary>
        [Column("VehicleStatus", "车辆审核状态， 0未认证，1审核中，2已审核，3驳回")]
        public int VehicleStatus { get; set; }

        ///<summary>
        ///VehicleStatus
        ///</summary>
        [Column("Sex", "性别， 1男 2女 0未知")]
        public int Sex { get; set; }
    }
}